package com.ai.tool.entity;

import com.agentsflex.core.llm.functions.Function;
import com.ai.tool.base.AiPluginToolBase;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;


/**
 *  实体类。
 *
 * @author Administrator
 * @since 2025-04-27
 */
@Table("tb_ai_plugin_tool")
public class AiPluginTool extends AiPluginToolBase {

    @Column(ignore = true)
    private boolean joinBot;

    public boolean isJoinBot() {
        return joinBot;
    }

    public void setJoinBot(boolean joinBot) {
        this.joinBot = joinBot;
    }

    public  Function toFunction() {
        return new AiPluginFunction(this);
    }
}
